import service from "./request";

// 权限列表
export const GetRightts = (type) => {
    return service({
        method: 'get',
        url:'/rights/'+ type
    })
}

// 角色列表
export const GetRoles = () => {
    return service({
        method: 'get',
        url:'/roles/'
    })
}